/*
 * Message.h
 *
 *  Created on: 2012-10-20
 *      Author: yangentao@gmail.com
 */

#ifndef MESSAGE_H_
#define MESSAGE_H_
#include "headers.h"

#define WMX_END		(WM_APP)



#define WMX_SUBCLASSED		(WM_APP-1)
//this message is before WM_CREATE
//we can change the style by set CREATESTRUCT
#define WMX_CREATING			(WM_APP-5)
//this message is after WM_NCDESTROY
#define WMX_FINISHED			(WM_APP-6)

//this message will send to its parent when a child window created
#define WMX_CHILD_CREATE		(WM_APP-7)
#define WMX_CHILD_DESTROYED		(WM_APP-8)

#define WMX_CHILD_SETFOCUS	(WM_APP-9)
#define WMX_CHILD_KILLFOCUS	(WM_APP-10)

#define WMX_MOUSEENTER		(WM_APP-11)




#define WMX_BEGIN 		(WM_APP - 100)


#endif /* MESSAGE_H_ */
